/*  Programme pour tester le generateur  Rngs.cpp         */

#include <iostream>
#include "./include/Rngs.h"
using namespace std;

int main ()
{
	BimodalGen a;
	a.setNSP(2, 9);

for(int i=0; i<30;i++)	
	cout<<a.genNext()<<endl;
	
	cout<<a.getName()<<endl;
	//a.increasePrecision();

	cout<<"mean="<<a.getMean()<<endl;
	cout<<"cv="<<a.getCV()<<endl;
	cout<<"var="<<a.getVar()<<endl;
	cout<<"secondM="<<a.get2ndM()<<endl;
	cout<<"thirdM="<<a.get3rdM()<<endl;

    return 0;
}
